var addr = "";
for(var i = 0; i < 4; i++) {
	addr += customer["address" + i] + "\n";
}

//------//
var stock_name = get_stock_name_from_user();
var shares = get_number_of_shares();
portfolio[stock_name] = shares;

//------//
var value = 0;
for(var stock in portfolio) {
	value += get_share_value(stock) * portfolio[stock];
}